package ro.imc.ums.domnica_dan;

public class WrittenExam {
	private int grade;
	
	public int getGrade() {
		return grade;
	}

	public void setGrade(int grade) {
		this.grade = grade;
	}

	public void isPassed(int grade){
		if(grade >= 5){
			System.out.println("Passed");
		} else {
			System.out.println("Failed");
		}
	}
}
